package persistence.xstream;

/**
 * list of xml filenames to use as database tables.
 *
 * @author idan
 */
public class XmlDatabaseFileList
{
	private String memberFile ;
	private String directoryFile ;
	private String threadFile ;
	private String postFile ;
	private String loginFile ;

    /**
     * all fields will be null.
     */
    public XmlDatabaseFileList()
	{
		// empty
	}

	/**
     * @param memberFile file containing members.
     * @param directoryFile file containing directories.
     * @param threadFile file containing threads.
     * @param postFile file containing posts.
     * @param loginFile file containing logins.
     */
	public XmlDatabaseFileList(final String memberFile, final String directoryFile, final String threadFile, final String postFile,
		final String loginFile)
	{
		this.memberFile = memberFile ;
		this.directoryFile = directoryFile ;
		this.threadFile = threadFile ;
		this.postFile = postFile ;
		this.loginFile = loginFile ;
	}

	/**
	 * @return file containing directories.
	 */
	public String getDirectoryFile()
	{
		return this.directoryFile;
	}

	/**
	 * @return the loginFile
	 */
	public String getLoginFile()
	{
		return this.loginFile;
	}

	/**
	 * @return file containing members.
	 */
	public String getMemberFile()
	{
		return this.memberFile;
	}

	/**
	 * @return file containing posts.
	 */
	public String getPostFile()
	{
		return this.postFile;
	}

	/**
	 * @return file containing threads.
	 */
	public String getThreadFile()
	{
		return this.threadFile;
	}

	/**
	 * @param directoryFile file containing directories.
	 */
	public void setDirectoryFile(final String directoryFile)
	{
		this.directoryFile = directoryFile ;
	}

	/**
	 * @param loginFile file containing logins.
	 */
	public void setLoginFile(final String loginFile)
	{
		this.loginFile = loginFile ;
	}

	/**
	 * @param memberFile file containing members.
	 */
	public void setMemberFile(final String memberFile)
	{
		this.memberFile = memberFile ;
	}

	/**
	 * @param postFile file containing posts.
	 */
	public void setPostFile(final String postFile)
	{
		this.postFile = postFile ;
	}

	/**
	 * @param threadFile file containing threads.
	 */
	public void setThreadFile(final String threadFile)
	{
		this.threadFile = threadFile ;
	}
}